package com.qili.service.supervisor.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.supervisor.ProjectType;
import com.qili.mapper.supervisor.ProjectTypeMapper;
import com.qili.service.supervisor.ProjectTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by lenovo on 2020/10/31.
 */
@Service
public class ProjectTypeServiceImpl extends BaseServiceImpl<ProjectType,String> implements ProjectTypeService {

    @Autowired
    ProjectTypeMapper projectTypeMapper;
    @Override
    public BaseMapper<ProjectType, String> getMappser() {
        return projectTypeMapper;

    }

    @Override
    public List<ProjectType> selectByProjectType() {
        return projectTypeMapper.selectByProjectType();
    }
}
